<template>
  <div>
    <router-view></router-view>
    <div class="navs">
        <!-- <router-link to="/layout/article">面经</router-link>
        <router-link to="/layout/collect">收藏</router-link>
        <router-link to="/layout/like">点赞</router-link>
        <router-link to="/layout/user">我的</router-link> -->
        <HmTabbar>
            <template #top>
                <img src="@/assets/37.jpg" alt="">
            </template>
            <template #bottom>
                <router-link to="/layout/article">面经</router-link>
            </template>
        </HmTabbar>
        <HmTabbar>
            <template #top>
                <img src="@/assets/38.jpg" alt="">
            </template>
            <template #bottom>
                <router-link to="/layout/collect">收藏</router-link>
            </template>
        </HmTabbar>
        <HmTabbar>
            <template #top>
                <img src="@/assets/39.jpg" alt="">
            </template>
            <template #bottom>
                <router-link to="/layout/like">点赞</router-link>
            </template>
        </HmTabbar>
        <HmTabbar>
            <template #top>
                <img src="@/assets/40.jpg" alt="">
            </template>
            <template #bottom>
                <router-link to="/layout/user">我的</router-link>
            </template>
        </HmTabbar>
    </div>
  </div>
</template>

<script>
export default {
name: 'HmLayout',
}
</script>

<style lang="less" scoped>
.navs{
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background-color: #8df;
    position: fixed;
    left: 0;
    bottom: 0;
    a.active{
        color: orange;
    }
}
</style>